package ru.javadevelop.homefinans.svc;

import com.neurospeech.wsclient.*;
import org.w3c.dom.*;

public class HomeFinansService_SendCategoryResponse extends WSObject
{
	
	private String _SendCategoryResult;
	public String getSendCategoryResult(){
		return _SendCategoryResult;
	}
	public void setSendCategoryResult(String value){
		_SendCategoryResult = value;
	}
	
	public static HomeFinansService_SendCategoryResponse loadFrom(Element root) throws Exception
	{
		if(WSHelper.isNull(root)){
			return null;
		}
		HomeFinansService_SendCategoryResponse result = new HomeFinansService_SendCategoryResponse();
		result.load(root);
		return result;
	}
	
	
	protected void load(Element root) throws Exception
	{
		this.setSendCategoryResult(WSHelper.getString(root,"SendCategoryResult",false));
	}
	
	
	
	public Element toXMLElement(WSHelper ws, Element root)
	{
		Element e = ws.createElement("ns6:SendCategoryResponse");
		fillXML(ws,e);
		return e;
	}
	
	public void fillXML(WSHelper ws,Element e)
	{
		ws.addChild(e,"ns6:SendCategoryResult",String.valueOf(_SendCategoryResult),false);
	}
	
}
